package com.ruoyi.system.domain;

import java.time.LocalDate;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 党统督办对象 dt_question
 * 
 * @author ruoyi
 * @date 2024-03-18
 */
public class DtQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String issue;

    /** 修改要求 */
    @Excel(name = "修改要求")
    private String edit;

    /** 完成时限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时限", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDate deadline;

    /** 责任单位 */
    @Excel(name = "责任单位")
    private String deptId;

    /** 办理状态 */
    @Excel(name = "办理状态")
    private String status;

    /** 事项ID */
    private String id;

    public void setIssue(String issue) 
    {
        this.issue = issue;
    }

    public String getIssue() 
    {
        return issue;
    }
    public void setEdit(String edit) 
    {
        this.edit = edit;
    }

    public String getEdit() 
    {
        return edit;
    }
    public void setDeadline(LocalDate deadline) 
    {
        this.deadline = deadline;
    }

    public LocalDate getDeadline() 
    {
        return deadline;
    }
    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("createTime", getCreateTime())
            .append("issue", getIssue())
            .append("edit", getEdit())
            .append("deadline", getDeadline())
            .append("deptId", getDeptId())
            .append("status", getStatus())
            .append("id", getId())
            .toString();
    }
}
